<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: physics::ParticleSystem Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>physics</b>      </li>
      <li class="navelem"><a class="el" href="classphysics_1_1_particle_system.html">ParticleSystem</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">physics::ParticleSystem Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="physics::ParticleSystem" -->
<p><a href="classphysics_1_1_particle_system-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structphysics_1_1_particle_system_1_1_impl.html">Impl</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>IntegratorType</b> { <b>Euler</b>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70ded41e6ee82653fad6e59a732c934f"></a><!-- doxytag: member="physics::ParticleSystem::addParticle" ref="a70ded41e6ee82653fad6e59a732c934f" args="(Particle *p)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>addParticle</b> (<a class="el" href="classphysics_1_1_particle.html">Particle</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23025c317993dae5a623ef3d4ec1c06e"></a><!-- doxytag: member="physics::ParticleSystem::removeParticle" ref="a23025c317993dae5a623ef3d4ec1c06e" args="(Particle *p)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeParticle</b> (<a class="el" href="classphysics_1_1_particle.html">Particle</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysics_1_1_particle_system.html#af08c62cc5bb01db2583df1186ebbd836">setIntegratorType</a> (IntegratorType type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IntegratorType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysics_1_1_particle_system.html#ad0ca27c32ce5a1726896f42b9be0eea0">integrator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9caec35b0ad470c98fcd3fdd0a945f0d"></a><!-- doxytag: member="physics::ParticleSystem::reset" ref="a9caec35b0ad470c98fcd3fdd0a945f0d" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysics_1_1_particle_system.html#a959593e002bdaa18ca64a3ac78f27f7f">step</a> (double time)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysics_1_1_particle_system.html#a93d4e3349269baadd302749e4b4e38fc">setResetFunctor</a> (<a class="el" href="classutils_1_1_functor.html">utils::Functor</a> fn)</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad0ca27c32ce5a1726896f42b9be0eea0"></a><!-- doxytag: member="physics::ParticleSystem::integrator" ref="ad0ca27c32ce5a1726896f42b9be0eea0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IntegratorType physics::ParticleSystem::integrator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the integrator used in the particle system </p>

</div>
</div>
<a class="anchor" id="af08c62cc5bb01db2583df1186ebbd836"></a><!-- doxytag: member="physics::ParticleSystem::setIntegratorType" ref="af08c62cc5bb01db2583df1186ebbd836" args="(IntegratorType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void physics::ParticleSystem::setIntegratorType </td>
          <td>(</td>
          <td class="paramtype">IntegratorType&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the integrator used in the particle system </p>

</div>
</div>
<a class="anchor" id="a93d4e3349269baadd302749e4b4e38fc"></a><!-- doxytag: member="physics::ParticleSystem::setResetFunctor" ref="a93d4e3349269baadd302749e4b4e38fc" args="(utils::Functor fn)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void physics::ParticleSystem::setResetFunctor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classutils_1_1_functor.html">utils::Functor</a>&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set a function object to use to reset the simulation system </p>

</div>
</div>
<a class="anchor" id="a959593e002bdaa18ca64a3ac78f27f7f"></a><!-- doxytag: member="physics::ParticleSystem::step" ref="a959593e002bdaa18ca64a3ac78f27f7f" args="(double time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void physics::ParticleSystem::step </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculate the next step in the simulation </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>engine/include/<a class="el" href="_particle_system_8h_source.html">ParticleSystem.h</a></li>
<li>engine/src/ParticleSystem.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 27 2011 15:38:53 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
